]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
windowManager: Drop grab-op-begin signal connection
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 31 Oct 2022 12:16:17 +0000 (13:16 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 30 Jan 2023 12:19:22 +0000 (12:19 +0000)
This is done just to "reset" the gesture when a grab operation
begins. With grab ops being based on ClutterGrab now, the gesture
will be implicitly reset when these happen. This is unnecessary now.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2526>

js/ui/windowManager.js

index c99215a7a2e01e61ec7a30076ac7c3a9e5950b59..2838664e4aea82bf21107ff05908e0ac9624f88e 100644 (file)
@@ -472,10 +472,6 @@ var AppSwitchAction = GObject.registerClass({
     _init() {
         super._init();
         this.set_n_touch_points(3);
-
-        global.display.connect('grab-op-begin', () => {
-            this.cancel();
-        });
     }
 
     vfunc_gesture_prepare(_actor) {